package com.lhh.springcommon.exception;

import com.lhh.springcommon.utils.CodeEnum;
import lombok.Data;

/**
 * 自定义异常类
 * @author 李厚航
 * @date 2025-02-25
 */
@Data
public class CustomException extends RuntimeException{

    private CodeEnum codeEnum;

    public CustomException(CodeEnum codeEnum){
        this.codeEnum = codeEnum;
    }

}
